package com.ybkj.o2o.mc.entity;

import java.io.Serializable;

/**
 * Created by shine on 16/9/20.
 */
public abstract class AccountBase implements Serializable {

  protected Double drawMoney;    //可提现金额

  protected Double nodrawMoney;  //不可提现金额

  protected Double frozenMoney;    //冻结金额

  protected Boolean allowOverdraw;  //是否允许所有成员签单

  public Double getDrawMoney() {
	if ( null == drawMoney) {
		return 0.0;
	}else {
		return drawMoney;
	}
  }

  public void setDrawMoney(Double drawMoney) {
    this.drawMoney = drawMoney;
  }

  public Double getNodrawMoney() {
    if ( null == nodrawMoney) {
		return 0.0;
	}else {
		return nodrawMoney;
	}
  }

  public void setNodrawMoney(Double nodrawMoney) {
    this.nodrawMoney = nodrawMoney;
  }

  public Double getFrozenMoney() {
    if ( null == frozenMoney) {
		return 0.0;
	}else {
		return frozenMoney;
	}
  }

  public void setFrozenMoney(Double frozenMoney) {
    this.frozenMoney = frozenMoney;
  }

  public Boolean getAllowOverdraw() {
    return allowOverdraw;
  }

  public void setAllowOverdraw(Boolean allowOverdraw) {
    this.allowOverdraw = allowOverdraw;
  }
}
